package com.csnf.dao;

import com.csnf.entity.Course;

import java.io.IOException;
import java.util.List;

public interface ICourseDao {
    public List<Course> findAll() throws IOException;

    public List<Course> findByName(String name) throws IOException;

    public Integer save(Course course) throws IOException;

    public Integer deleteById (Integer id) throws IOException;
}
